//webpack配置
const path = require("path");

const {
  override,
  fixBabelImports,
  addDecoratorsLegacy,
  addWebpackAlias
} = require("customize-cra");

module.exports = override(
  addDecoratorsLegacy (),
  // 添加webpack别名
  addWebpackAlias({
      '@': path.resolve("./src"),
  }),
  fixBabelImports('import', {
    librayName: 'antd-mobile',
    style: 'css'
  }),

);